home *** CD-ROM | disk | FTP | other *** search
- // ******************************************************************
- //
- // persqry.h : header file
- //
- // (C) 1993 POET Software
- //
- // ******************************************************************
-
-
- #include "..\resource.h" // resource IDs
-
- #include <poet.hxx> // header to POET enviroment
- #include <base.hxx> // generated by PTXX for the database base
- #include <hello.hxx> // generated by PTXX when it processes hello.hcd
-
- #ifndef __PERSQRY_H__
- #define __PERSQRY_H__
-
- /////////////////////////////////////////////////////////////////////////////
- // CPersQueryDlg dialog
-
- class CPersQueryDlg : public CDialog
- {
- protected:
- PersonAllSet *pall;
- PersonQuery *args;
- AddressQuery *adrargs;
- protected:
- void SetMember (char **pp ); // set member variables in Listbox
- int GetMember ( char **pp ); // get index of memberlist
- char *GetOpString ( char *buffer, int maxlen );
- PtCmpOp GetOp ();
-
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void Init ();
- virtual void SetMemberList ();
-
- // Generated message map functions
- //{{AFX_MSG(CPersQueryDlg)
- afx_msg void OnClickedQueryDelete();
- afx_msg void OnClickedQueryEnter();
- afx_msg void OnClickedQueryStart();
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- // Dialog Data
- //{{AFX_DATA(CPersQueryDlg)
- enum { IDD = IDR_PERS_QUERY };
- CListBox m_CQueryList; // Listbox control arguments for query
- CListBox m_CMemberList; // Listbox control member variables
- CString m_strValue; // Edit control value
- int m_nOpButtons; // zerobased index of Radiobuttons
- //}}AFX_DATA
-
- CPersQueryDlg(CWnd* pParent = NULL, UINT nIDTemp = IDD); // extended constructor,
- // cause this class maybe used as baseclass
- ~CPersQueryDlg ();
-
- };
-
- #endif // __PERSQRY_H__